#ifndef DIALOGWAIT_H
#define DIALOGWAIT_H

#include <QDialog>
#include <QHBoxLayout>
#include <QLabel>

namespace Ui {
class DialogWait;
}

class DialogWait : public QDialog
{
    Q_OBJECT

public:
    explicit DialogWait(QWidget *parent = nullptr);
    ~DialogWait();





public slots:
    void dlgEsc();
private slots:
    void on_pushButton_exit_clicked();

public:
signals:
    /**
     * @brief Stop Wait And close Dialog.
     */
    void end_waitting();

private:
    Ui::DialogWait *ui;

    QMovie *movie;

    QPushButton *btnEsc;
    bool  m_isRet;
    QVBoxLayout* layou;
};

#endif // DIALOGWAIT_H
